#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# 输出如下字符串：
# n = 123
# f = 456.789
# s1 = 'Hello, world'
# s2 = 'Hello, \'Adam\''
# s3 = r'Hello, "Bart"'
# s4 = r'''Hello,
# Lisa!'''

n = 123
f = 456.789
s1 = "'Hello, world'"
s2 = "'Hello, \\\'Adam\\\''" #\' = ' \\ = \
s3 = "r\'Hello, \"Bart\"\'"
s4 = "r'''Hello,"

print('n = %3d\nf = %3.3f\ns1 = %s\ns2 = %s\ns3 = %s\ns4 = %s\n%s'%(n,f,s1,s2,s3,s4,"Lisa!'''"))